home *** CD-ROM | disk | FTP | other *** search
- E! for Windows - Technical Note #009
- ***********************************************************************
- Available font sizes in Screen Font and Printer Font Setup dialog boxes
- ***********************************************************************
-
- Some users complained about E! displaying only one possible font size
- for some fonts, while the corresponding Windows dialog box in COMMDLG.DLL
- displays multiple sizes.
-
- When enumerating non-scalable fonts, Windows returns all possible sizes
- for the given font. These values are displayed in the dialog box.
-
- The problem is different when enumerating scalable fonts. For those fonts,
- all sizes are theoretically possible (practically about 1000 possible
- sizes are available). Constructing such a list of values would waste time
- and memory.
-
- The COMMDLG dialog box proposes some frequently used sizes. These are not
- values returned by the font itself. They are only sample or computed values
- hard-coded in COMMDLG.DLL.
-
- EW works another way. It proposes the only (default) size returned by the
- system for that scalable font and allows entering any value in the
- relevant edit field. This does not mean that the user is limited in his
- choice when selecting a size. Any size can be entered for a scalable font.
- However, depending on the font, the size entered by the user may be
- rounded up to better match the font characteristics. This method makes
- font enumeration faster especially on systems where numerous scalable
- fonts are installed.
-
- Patrick Philippot
- 08/12/93
-
- Starting with E! 2.0, arbitrary font sizes are added to the Font Selection
- dialog box if Windows doesn't return more than one size. In that case, the
- size defaults to 12 points if no other previous setting exists.
-
- Patrick Philippot
- 04/06/94
-